.class Lcom/estrongs/android/pop/app/diskusage/c$b;
.super Landroid/os/Handler;
.source "DiskUsageGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/diskusage/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/diskusage/c;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/diskusage/c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    .line 1
    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x1

    if-ne v1, v0, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->v(Lcom/estrongs/android/pop/app/diskusage/c;)V

    goto/16 :goto_2

    :cond_0
    const/4 v1, 0x2

    if-ne v1, v0, :cond_3

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->E(Lcom/estrongs/android/pop/app/diskusage/c;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 4
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->H(Lcom/estrongs/android/pop/app/diskusage/c;)J

    move-result-wide v4

    sub-long/2addr v2, v4

    const-wide/16 v4, 0x7d0

    cmp-long p1, v2, v4

    if-gez p1, :cond_1

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->I(Lcom/estrongs/android/pop/app/diskusage/c;)Landroid/os/Handler;

    move-result-object p1

    sub-long/2addr v4, v2

    invoke-virtual {p1, v1, v4, v5}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0

    .line 6
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->J(Lcom/estrongs/android/pop/app/diskusage/c;)V

    goto :goto_0

    .line 7
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->K(Lcom/estrongs/android/pop/app/diskusage/c;)V

    .line 8
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    const-wide/16 v0, 0x0

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/pop/app/diskusage/c;->b(Lcom/estrongs/android/pop/app/diskusage/c;J)J

    goto/16 :goto_2

    :cond_3
    const/4 v1, 0x3

    if-ne v1, v0, :cond_4

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->L(Lcom/estrongs/android/pop/app/diskusage/c;)V

    goto/16 :goto_2

    :cond_4
    const/4 v1, 0x5

    if-ne v1, v0, :cond_7

    .line 10
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast p1, Ljava/util/List;

    .line 11
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 12
    check-cast v0, Lcom/estrongs/android/pop/app/diskusage/c$j;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/diskusage/c$j;->n()Ljava/io/File;

    move-result-object v0

    .line 13
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_5

    .line 14
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->c(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v1

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/estrongs/android/widget/e;->b(Ljava/lang/String;)V

    goto :goto_1

    .line 15
    :cond_5
    new-instance v1, Lcom/estrongs/fs/util/e;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/diskusage/c;->a(Lcom/estrongs/android/pop/app/diskusage/c;)J

    move-result-wide v2

    invoke-direct {v1, v0, v2, v3}, Lcom/estrongs/fs/util/e;-><init>(Ljava/io/File;J)V

    .line 16
    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2, v1}, Lcom/estrongs/android/pop/app/diskusage/c;->a(Lcom/estrongs/android/pop/app/diskusage/c;Lcom/estrongs/fs/util/d;)V

    .line 17
    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/diskusage/c;->c(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v2

    iget-object v2, v2, Lcom/estrongs/android/pop/app/diskusage/b;->k:Ljava/util/Map;

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-interface {v2, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 18
    :cond_6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    new-instance v0, Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->e(Lcom/estrongs/android/pop/app/diskusage/c;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/diskusage/c;->c(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;-><init>(Landroid/content/Context;Lcom/estrongs/android/pop/app/diskusage/b;)V

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/diskusage/c;->a(Lcom/estrongs/android/pop/app/diskusage/c;Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;)Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->d(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->f(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;)V

    .line 20
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->d(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->g(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;)V

    .line 21
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/diskusage/c;->h(Lcom/estrongs/android/pop/app/diskusage/c;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->d(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/ui/adapter/ListAdapter_DiskUsage;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 22
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/diskusage/c;->a(Lcom/estrongs/android/pop/app/diskusage/c;Z)V

    .line 23
    iget-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$b;->a:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/diskusage/c;->k(Z)[J

    :cond_7
    :goto_2
    return-void
.end method
